package com.njlime.cms.repository.sys;

import com.njlime.cms.entities.LiveConfig;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * Created by Dean on 2017-10-13.
 */
public interface LiveConfigDao extends JpaRepository<LiveConfig, Integer>,JpaSpecificationExecutor<LiveConfig> {
    LiveConfig getCurConfig(int unit_id);
    int delCurConfig(int unit_id);

    public   void edit(LiveConfig info);
}
